home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / SDKs / QuickTime Mac / RIncludes / QuickTimeComponents.r < prev    next >
Encoding:
Text File  |  1998-04-09  |  2.4 KB  |  99 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        QuickTimeComponents.r
  3.  
  4.      Contains:    QuickTime Interfaces.
  5.  
  6.      Version:    Technology:    QuickTime 3.0
  7.                  Release:    QuickTime 3.0
  8.  
  9.      Copyright:    © 1990-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18.  
  19. #ifndef __QUICKTIMECOMPONENTS_R__
  20. #define __QUICKTIMECOMPONENTS_R__
  21.  
  22. #ifndef __CONDITIONALMACROS_R__
  23. #include "ConditionalMacros.r"
  24. #endif
  25.  
  26. #define canMovieImportHandles             0x01
  27. #define canMovieImportFiles             0x02
  28. #define hasMovieImportUserInterface     0x04
  29. #define canMovieExportHandles             0x08
  30. #define canMovieExportFiles             0x10
  31. #define hasMovieExportUserInterface     0x20
  32. #define dontAutoFileMovieImport         0x40
  33. #define canMovieExportAuxDataHandle     0x80
  34. #define canMovieImportValidateHandles     0x0100
  35. #define canMovieImportValidateFile         0x0200
  36. #define dontRegisterWithEasyOpen         0x0400
  37. #define canMovieImportInPlace             0x0800
  38. #define movieImportSubTypeIsFileExtension  0x1000
  39. #define canMovieImportPartial             0x2000
  40. #define hasMovieImportMIMEList             0x4000
  41. #define canMovieExportFromProcedures     0x8000
  42. #define canMovieExportValidateMovie     0x00010000
  43. #define movieExportNeedsResourceFork     0x00020000
  44. #define canMovieImportDataReferences     0x00040000
  45. #define movieExportMustGetSourceMediaType  0x00080000
  46. #define reservedForUseByGraphicsImporters  0x00800000
  47.  
  48. #define kMimeInfoMimeTypeTag             'mime'
  49. #define kMimeInfoFileExtensionTag         'ext '
  50. #define kMimeInfoDescriptionTag         'desc'
  51. #define kMimeInfoGroupTag                 'grop'
  52. #define kMimeInfoDoNotOverrideExistingFileTypeAssociation  'nofa'
  53.  
  54.  
  55. type 'mime' {
  56.     // 10 bytes of reserved
  57.     longint = 0;
  58.     longint = 0;
  59.     integer = 0;
  60.     // 2 bytes of lock count
  61.     integer = 0;
  62.     
  63.     // size of this atom
  64.     parentStart:
  65.     longint = ( (parentEnd - parentStart) / 8 );
  66.     
  67.     // atom type
  68.     literal longint = 'sean';
  69.     
  70.     // atom id
  71.     longint = 1;
  72.     integer = 0;
  73.     integer =  $$CountOf(AtomArray);
  74.     longint = 0;
  75.     
  76.     array AtomArray {
  77.         atomStart:
  78.         // size of this atom
  79.         longint = ((atomEnd[$$ArrayIndex(AtomArray)] - atomStart[$$ArrayIndex(AtomArray)]) / 8);
  80.         
  81.         // atom type
  82.         literal longint;
  83.         
  84.         // atom id
  85.         longint;
  86.         integer = 0;
  87.         integer = 0; // no children
  88.         longint = 0;
  89.         string;
  90.         atomEnd:
  91.         };
  92.     parentEnd:
  93.         
  94. };
  95.  
  96.  
  97. #endif /* __QUICKTIMECOMPONENTS_R__ */
  98.  
  99.